//
//  EmptyShow.h
//  KidReading
//
//  Created by linziyuan on 16/4/8.
//  Copyright © 2016年 刘赞黄Telen. All rights reserved.
//

#import <UIKit/UIKit.h>
@class ZYCircleActivity;
typedef enum : int {
    EmptyShowType_Defualt = 0,
    EmptyShowType_MyBook = 1,   //我的
    EmptyShowType_Fav = 2,      //收藏
    EmptyShowType_ParentRm = 3,     //爸妈精选
    EmptyShowType_TeacherRm = 4,    //老师推荐
    EmptyShowType_Paid = 5,     //单本已购
    EmptyShowType_Loading = 6,
    EmptyShowType_Web = 7,
} EmptyShowType;

@protocol EmptyShowDelegate <NSObject>

- (void)tapEmptyShow;

@end

@interface EmptyShow : UIView
@property (nonatomic, strong) UIImageView *iconView;
@property (nonatomic, assign) id<EmptyShowDelegate> emptyDelegate;
//@property (nonatomic, assign) EmptyShowType showtype;
@property (nonatomic, strong) ZYCircleActivity *topActivety;
//@property (nonatomic, strong) UIActivityIndicatorView *topActivety;
- (void)emptyShowWithType:(EmptyShowType)showtype tapEnabel:(BOOL)tapenable hideView:(UIView *)view defineStr:(NSString *)defineStr;
- (void)modifyTheIconViewSize:(CGSize)iconSize topSpace:(CGFloat)topSpace labelHeight:(CGFloat)labelHeight;
- (void)dismissEmptyShowView:(UIView *)view;


@end
